﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Common;

namespace BusinessLogic
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IElectrosWCF" in both code and config file together.
    [ServiceContract]
    public interface IElectrosWCF
    {
        [OperationContract]
        IEnumerable<Menu> GetMenu(int roleID);

        [OperationContract]
        int RandomGenerator();

        [OperationContract]
        void sendEmailNotification(string username, string bodyContent, string subject);

        [OperationContract]
        string DecryptPassword(string vl, string key);

        [OperationContract]
        void SendEmail(string email, string username, Fault f);

        [OperationContract]
        string CreatePDFFault(Fault fault);
    }
}
